package com.taotao.service.impl;

import com.taotao.proxy01.ext.TaoTaoAsync;
import com.taotao.service.OrderService;
import lombok.extern.slf4j.Slf4j;

/**
 * @Author: wangjin
 * @CreateTime: 2022-07-25  22:07
 */
@Slf4j
public class OrderServiceImpl  implements OrderService {
    @Override
    @TaoTaoAsync
    public String addOrder(String orderName) {
        log.info("<orderName:{}>",orderName);
        add();
        return "ok";
    }

    private void add() {
        System.out.println("aa");
    }
}
